package com.easygem.system.service.impl;

import com.easygem.common.vo.system.WelcomeVO;
import com.easygem.system.mapper.WelcomeMapper;
import com.easygem.system.service.WelcomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 罗力
 * @version 1.0
 * @className WelcomeServiceImpl
 * @description TODO 某某类
 * @date 2025/3/2 13:37
 */
@Service
public class WelcomeServiceImpl implements WelcomeService {

    @Autowired
    private WelcomeMapper welcomeMapper;


    /**
     * 获取坐席总数
     *
     * @return 记录数
     */
    @Override
    public Integer getSeatCount() {
        return welcomeMapper.getSeatCount();
    }

    /**
     * 获取客户总数
     *
     * @return 记录数
     */
    @Override
    public Integer getClientCount() {
        return welcomeMapper.getClientCount();
    }

    /**
     * 获取总部门数
     *
     * @return 记录数
     */
    @Override
    public Integer getDeptCount() {
        return welcomeMapper.getDeptCount();
    }

    /**
     * 获取今日拨打总数
     *
     * @return 记录数
     */
    @Override
    public Integer getCallCount() {
        return welcomeMapper.getCallCount();
    }

    /**
     * 获取账胡信息
     *
     * @return
     */
    @Override
    public List<WelcomeVO> getAccountInfo() {
        return  welcomeMapper.getAccountInfo();
    }
}
